package com.quectel.core.module.grid.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author zhangheng
 * @email nolan.zhang@quectel.com
 * @date 2023/2/7 13:22
 * @description new java file header...
 */
@Data
@Schema
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class GridRegionInfoDto implements Serializable {
    /**
     * 所处层级 1省2市3区4街道5社区6网格
     */
    @Schema(description = "")
    private Byte level;

    /**
     * 名称
     */
    @Schema(description = "")
    private String name;

    /**
     * code:省编码/市编码/区编码/街道编码/小区ID/网格ID
     */
    @Schema(description = "")
    private String code;

    /**
     * 父级地区信息
     */
    @Schema(description = "")
    private String parentCode;

    /**
     * 子级地区信息
     */
    @Schema(description = "")
    private String parentName;

}
